package club.dmyang.entity;

import java.util.ArrayList;

public class Role {
    private Integer rid;

    private String rname;

    private ArrayList<Permission> permsList;

    public ArrayList<Permission> getPermsList() {
        return permsList;
    }

    public void setPermsList(ArrayList<Permission> permsList) {
        this.permsList = permsList;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname == null ? null : rname.trim();
    }
}